package com.itbour.dto.authority;

/**
 * 角色授权 信息表
 */
public class RoleFuncDto implements Comparable<RoleFuncDto> {
	public Long getFid() {
		return fid;
	}

	public void setFid(Long fid) {
		this.fid = fid;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public Integer getFauth() {
		return fauth;
	}

	public void setFauth(Integer fauth) {
		this.fauth = fauth;
	}

	public Integer getFauth2() {
		return fauth2;
	}

	public void setFauth2(Integer fauth2) {
		this.fauth2 = fauth2;
	}

	public Long getSfid() {
		return sfid;
	}

	public void setSfid(Long sfid) {
		this.sfid = sfid;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Integer getSauth() {
		return sauth;
	}

	public void setSauth(Integer sauth) {
		this.sauth = sauth;
	}

	public Integer getSauth2() {
		return sauth2;
	}

	public void setSauth2(Integer sauth2) {
		this.sauth2 = sauth2;
	}

	private Long fid;
	private String fname;
	private Integer fauth;
	private Integer fauth2;
	private Long sfid;
	private String sname;
	private Integer sauth;
	private Integer sauth2;

	@Override
	public int compareTo(RoleFuncDto rfunc) {
		return this.fid.compareTo(rfunc.getFid());
	}
}
